package com.bwie.system.service;

import com.bwie.common.domain.RedPacketReceived;
import com.bwie.common.result.Result;
import com.bwie.system.mq.domain.EsRedPacketReceived;

import java.util.List;

/**
 * @Author Junchen_N1
 * @Date 2025/6/17 17:19
 * @ClassName EsRedPacketReceivedService
 * @Description TODO
 */
public interface EsRedPacketReceivedService {
    void flushEs();

    Result<List<EsRedPacketReceived>> selectSnatchMsg(String redPacketName);

    Result<List<EsRedPacketReceived>> selectMsgOfRedPacket(Integer redPacketId);
}
